﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WebNavigationApi.Models
{
    public class ResultList
    {

        public ResultList(bool state, short code, string message, Array data, int total)
        {
            this.state = state;
            this.code = code;
            this.message = message;
            this.data = data;
            this.total = total;
        }
        public bool state { get; set; }

        public short code { get; set; }


        public string message { get; set; }

        public Array data { get; set; }

        public int total { get; set; }
    }

    public class Result
    {
        public Result(bool state, short code,string message, object data)
        {
            this.state = state;
            this.code = code;
            this.message = message;
            this.data = data;

        }
        public bool state { get; set; }

        public short code { get; set; }


        public string message { get; set; }

        public object data { get; set; }

        
    }
}
